package co.edu.usbcali.adt.lists;

public class SimpleNode<T> {
	
	T info;
	SimpleNode<T> next;
	
	/* ***********************************************************
	 * 
	 *  CONSTRUCTORS - BEGIN
	 * 
	 * ***********************************************************/
	public SimpleNode() {
		super();
	}
	public SimpleNode(T info, SimpleNode<T> next) {
		super();
		this.info = info;
		this.next = next;
	}
	public SimpleNode(T info) {
		super();
		this.info = info;
	}
	/* ***********************************************************
	 * 
	 *  CONSTRUCTORS - END
	 * 
	 * ***********************************************************/
	public T getInfo() {
		return info;
	}
	public void setInfo(T info) {
		this.info = info;
	}
	public SimpleNode<T> getNext() {
		return next;
	}
	public void setNext(SimpleNode<T> next) {
		this.next = next;
	}
	
	

}
